﻿namespace FlitBit.Cache
{
	/// <summary>
	///   Collects an active cache's statistics.
	/// </summary>
	public interface IActiveCacheStatsCollector : ICacheStatsCollector
	{
		/// <summary>
		///   Samples the current statistics.
		/// </summary>
		/// <returns></returns>
		ActiveCacheStats ActiveSample();

		/// <summary>
		///   Increments the number of items resolved.
		/// </summary>
		void IncrementResolves(int count);
	}
}